/* 块级元素 */

body,
ul,
dl,
ol,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 400;
  color: #666;
  font-size: 12px;
}

/* 行内元素 */
a {
  text-decoration: none;
  color: #666;
}

/* 行内块元素 */
img,
input {
  border: 0 none;
  outline-style: none;
  padding: 0;
  vertical-align: center;
}

/* 版心 */
.w {
  width: 1200px;
  margin: 0 auto;
}

/*设置浮动*/
.left {
  float: left;
}

.right {
  float: right;
}

/* 清除浮动 */
.clearfix::after {
  content: "";
  height: 0;
  line-height: 0;
  display: block;
  clear: both;
  visibility: hidden;
}

.clearfix {
  zoom: 1;
}